<?php
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'basic';
$return=array();
if($_RQ['op']=='basic'){
	if($_RQ['postdata']){
		$postdata=get_postdata();
		$data=array_fields(array('mids'),$postdata);
		$this->plugin_setting('basic',$data);
		exi('设置成功');
	}
	
	$plugins =$this->plugins();
	$return['item']=$this->plugin_setting('basic');
	$return['item']['footernav']=$return['item']['footernav']?$return['item']['footernav']:$footernav;
	$return['item']['plugins']=$return['item']['plugins']?$return['item']['plugins']:$plugins[1]['list'];
	$htmls=array(
		'type'=>'edit',
		//'post'=>'post',
		'desc'=>'设置',
		
		'edit'=>array(
				array('name'=>'mids','title'=>'添加管家mid','type'=>'choose_many','action'=>'core/member.get_member/many/','choose_title'=>'选择会员'),
			)
			);
	$return['htmls']=$htmls;
	exi($return);
}

